Add gtk_window_set_titlebar
authorMatthias Clasen <mclasen@redhat.com>
Mon, 18 Mar 2013 12:38:02 +0000 (08:38 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 18 Mar 2013 12:50:22 +0000 (08:50 -0400)
commit4afbaf699f0d05ae0308c142495e7282cbaf1853
tree0eb2dd61a5991b17ed05ea8a50a2e4d96c516d67
parent105c808d0acefbe03a8c8f5a3c8a31636b38edd8
Add gtk_window_set_titlebar

A new function that sets a custom titlebar on a GtkWindow.
With client-side decorations, the custom titlebar simply
replaces the one that GtkWindow would otherwise create itself.
With traditional decorations, we tell the window manager
to just decorate the window with a border. This works ok
at least with metacity and mutter.
gtk/gtkwindow.c
gtk/gtkwindow.h